Skip to content

Update configuration handling in gateway tests#3995

Merged
jvstme merged 1 commit into
masterfrom
gateway_configuration_in_tests
Jun 29, 2026
Merged

Update configuration handling in gateway tests#3995
jvstme merged 1 commit into
masterfrom
gateway_configuration_in_tests

Conversation

@jvstme

@jvstme jvstme commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Previously, test cases never populated
GatewayModel.configuration or
GatewayComputeModel.configuration. These fields
can only be missing for pre-0.18.2 gateways, so
the tests weren't effectively testing the code
against relevant gateways.

  • Populate GatewayModel.configuration and
    GatewayComputeModel.configuration in all test
    cases.
  • Parametrize some of the more important test
    cases to also run them without populating
    configuration, representing legacy gateways.
  • Fix the /set_wildcard_domain API method so
    that it also modifies the gateway configuration
    to keep it relevant. The fact that it wasn't
    doing so was surfaced by the above test updates.

#3959

Previously, test cases never populated
`GatewayModel.configuration` or
`GatewayComputeModel.configuration`. These fields
can only be missing for pre-0.18.2 gateways, so
the tests weren't effectively testing the code
against relevant gateways.

- Populate `GatewayModel.configuration` and
  `GatewayComputeModel.configuration` in all test
  cases.
- Parametrize some of the more important test
  cases to also run them without populating
  `configuration`, representing legacy gateways.
- Fix the `/set_wildcard_domain` API method so
  that it also modifies the gateway configuration
  to keep it relevant. The fact that it wasn't
  doing so was surfaced by the above test updates.
@jvstme jvstme merged commit 28ea5f8 into master Jun 29, 2026
24 checks passed
@jvstme jvstme deleted the gateway_configuration_in_tests branch June 29, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant